#@front_layout()
	
#define css()
	<link rel="stylesheet" type="text/css" href="#(ctx)/resources/css/admin/index.css">
#end

#define main()
	<div class="left-menu">
		<ul>
			#for(menu : menuList ??)
			<li class="top-li">
				<a href="javascript:;" data-href="#(ctx)/#(menu.menuUrl ??)" data-id="#(menu.menuCode ??)" #if(menu.isLeaf == 'Y')class="jump-to-iframe"#end>#(menu.menuName ??)</a>
				#if(menu.childList != null && menu.childList.size() != 0)
				<ul>	
					#for(child : menu.childList)
						<li class="sub-li">
						<a href="javascript:;" data-href="#(ctx)/#(child.menuUrl ??)" data-id="#(child.menuCode ??)" #if(child.isLeaf == 'Y')class="jump-to-iframe"#end>#(child.menuName ??)</a>
						#if(child.childList != null && child.childList.size() != 0)
						<ul>
							#for(gchild : child.childList)
							<li class="last-li">
								<a href="javascript:;" data-href="#(ctx)/#(gchild.menuUrl ??)" data-id="#(gchild.menuCode ??)" #if(gchild.isLeaf == 'Y')class="jump-to-iframe"#end>#(gchild.menuName ??)</a>
							</li>
							#end
						</ul>
						#end
					</li>
					#end
				</ul>
				#end
			</li>
			#end
		</ul>
	</div>
	<div class="right-content">
		<div class="tab-wrap">
			<div data-id="tab_homepage" data-href="#(ctx)/admin/homepage" class="tab tab-active" style="width:65px; margin: 0 auto">主页</div>
		</div>		
		<div class="iframe-wrap">
			<div class="iframe-item show" data-id="iframe_homepage">
				<iframe src="#(ctx)/admin/homepage" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="auto" width="100%"></iframe>
			</div>
		</div>
	</div>
#end

#define js()
	<script type="text/javascript" src="#(ctx)/resources/js/admin/index.js"></script>
<script>
</script>
#end